import request from '@/utils/request'
export const apperove = (borrowInfoApprovalVO)=>request({
  url: `/admin/core/borrowInfo/approval`,
  method:'post',
  data:borrowInfoApprovalVO
})
export const getList=()=>request({
  url: `/admin/core/lend/list`,
  method: 'get'
})

export const show=(id)=>{
  return request({
    url: `/admin/core/lend/show/${id}`,
    method: 'get'
  })
}

export const  makeLoan=(id)=>{
  return request({
    url: `/admin/core/lend/makeLoan/${id}`,
    method: 'get'
  })
}